/**
 * Created by CK on 2016/7/8.
 */
$(document).ready(function() {
    var schoolId = xhTool.getQuery('iSchoolId');
    var list = $('#List');
    list.initDataGrid('getGroupDgData', {"queryParams": {"iSchoolId": schoolId}});
    DataGrid.onDblClickRow = function(rowIndex, rowData){
        window.top.xhTop.getActiveFrame().chooseAppGroup(rowData.iSAGId);
        window.top.xhTop.closeModal();
        //window.top.frames["iframe"].chooseAppGroup(rowData.iSAGId);
        //$(window.top.document).find(".modal-header .close").click();        //关闭父窗体弹窗
    }
});